package com.tem.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 个人薪资记录详情，用mongoDB保存
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wages_user")
@ApiModel(value="WagesUser对象", description="个人薪资记录详情，用mongoDB保存")
public class WagesUser implements Serializable {

    private static final long serialVersionUID=240752424L;

    @ApiModelProperty(value = "个人工资单")
    @TableId(value = "wages_user_id", type = IdType.AUTO)
    private Long wagesUserId;

    @ApiModelProperty(value = "工资单")
    @TableField("wages_id")
    private Long wagesId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "员工")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "张三2023-8工资单")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "支付情况 1待支付 3已支付")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "总金额")
    @TableField("total")
    private BigDecimal total;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
